﻿<html>
    <head>
        <title>Kho | QL Nhập</title>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/qlnhap.css");?>"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/sach.css");?>"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url("web/css/thoitrang.css");?>"/>
        <script language="javascript" src="js/jquery.js"></script>
        <script language="javascript" src="http://ajax.Googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
        <script language="javascript" src="<?php echo base_url("web/js/sach.js");?>"></script>
    </head>
<body>
    <div id="header">
        <h1 align="center">DEV - VITBAY.VN</h1>
    </div>
    <div id="menu">
        <a href="<?php echo site_url("home");?>">Home</a>|
        <a href="qlnhap.php">Kho</a>|
        <a href="">Thêm mới sản phẩm</a>|
        <a href="">Danh sách nhà cung cấp</a>|
        <a href="baocao.php">Báo cáo <img src='<?php echo base_url("img/new.gif");?>' height='15px' width='40px'/></a>
    </div>

    <div class="infosach" style="clear: both; margin-top: 50px;">
        <div id="infotinhocs">
            <table id="tableinfo" border="1" align="center">
                <tr>
                    <td>ID</td>
                    <td>Tên sách</td>
                    <td>Số lượng</td>
                    <td>Giá bìa</td>
                    <td>Giá bán</td>
                    <td>Tác giả</td>
                    <td>NXB</td>
                    <td>Năm XB</td>
                    <td>Loại sách</td>
                    <td>Ngay nhap</td>
                </tr>
                <?php
                for($i=0; $i<count($id); $i++)
                {
                    echo "
                        <tr>
                            <td>".$id[$i]."</td>
                            <td>".$ten[$i]."</td>
                            <td>".$soluong[$i]."</td>
                            <td>".$gia[$i]."</td>
                            <td>".$giaban[$i]."</td>
                            <td>".$tacgia[$i]."</td>
                            <td>".$nxb[$i]."</td>
                            <td>".$namxb[$i]."</td>
                            <td>".$loaisach[$i]."</td>
                            <td>".$ngaynhap[$i]."</td>
                        </tr>
                    ";
                }
                ?>
            </table>
            <ul class="nav">
            </ul>
        </div>
    </div>
</body>
</html>